package cn.net.msg.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.stereotype.Component;
@Component("grade")
@Entity @Table(name = "tb_grade")
public class TbGrade{ 

    @Id @Column(name = "Grade_id",length=11)
    private int gradeId;
    @Column(name= "Grade_name",length=100)
    private String gradeName;


    public int getGradeId() {
        return gradeId;
    }
    public void setGradeId(int gradeId) {
        this.gradeId = gradeId;
    }


    public String getGradeName() {
        return gradeName;
    }
    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

}
